package com.system.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName DtDictDto
 * @Description TODO
 * @Author 无名小卒
 * @Date 2023/9/2 18:51
 * @Version 1.0
 */
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@ApiModel("DictDto")
@Data
public class DtDictDto implements Serializable {
    @NotEmpty(message = "标记属性必填")
    private String key;
    @NotEmpty(message = "标签属性必填")
    private String lable;
    @NotEmpty(message = "表名必填")
    private String table;
    @NotBlank(message = "标记集合不为空")
    private List<Object>ids;

}
